package com.lindroy.gankmvp.api

import com.lindroy.gankmvp.mvp.model.bean.CategoryResp
import com.lindroy.gankmvp.mvp.model.bean.HttpResult
import io.reactivex.Observable
import retrofit2.http.GET

/**
 * @author Lin
 * @date 2021/7/2
 * @function
 */
interface GankService {
//    https://gank.io/api/v2/categories/Article
   @GET("categories/Article}")
   fun getArticleCategory(): Observable<HttpResult<List<CategoryResp>>>

}